<?php session_start();
if(!isset($_SESSION['login'])){
echo '<script language="javascript">
window.location.href="../../../Login.php";
</script>';
} else {/* else Global*/ 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--
	UES-FIA-EISI-TBS115
	PHP - Sistema/Asesorias/Vista
	Nombre: Form_informe_asesorias.php
	Fecha:	17/agosto/2011
	Autor:	ricardo Guardado
	Descripción: Formulario para el registro de informe de investigaciones
 	Actualizado: 17/Agosto/2011, ricardo guardado.
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Guia de Investigaci&oacute;n General de  Cooperativas</title>

<link rel="stylesheet" href="../../../Estilos/stickytooltip.css" type="text/css"/>
<link rel="stylesheet" href="../../../Estilos/Menu_h.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../../../Estilos/Form.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../../../Estilos/Blueprint/screen.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="../../../Estilos/Blueprint/print.css" type="text/css" media="print" />
<link rel="stylesheet" href="../../../Estilos/Principal-estilos.css" type="text/css" media="screen" />
<link type="text/css" href="../../../Estilos/cupertino/jquery-ui-1.8.12.custom.css" rel="stylesheet" />	
<!--[if lt IE 8]>
  <link rel="stylesheet" href="../../../Estilos/Blueprint/ie.css" type="text/css" media="screen, projection">
<![endif]-->
<link rel="shortcut icon" href="../../../Imagenes/Icono-01.ico" type="image/x-icon"/>
<script type="text/javascript" src="../../../Script/jquery.min.js"></script><!--el core de jquery tooltip-->
<script type="text/javascript" src="../../../Script/stickytooltip.js"></script><!--el tooltip-->

<script type="text/javascript" src="../../../Script/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="../../../Script/jquery-ui-1.8.12.custom.min.js"></script>
<script type="text/javascript" src="../../../Script/validatious-custom-0.9.1.min.js"></script>

<script type="text/javascript"> 
/////////////////////////////////EL JQUERY///////////////////////////////
	$(function() {
		$( "#datepicker" ).datepicker();
		$( "#datepicker1" ).datepicker();
		$( "#datepicker2" ).datepicker();
		/*$( "#tabs" ).tabs();
		$( "#tabs-1" ).tabs();
		$( "#tabs-2" ).tabs();
		$( "#tabs-3" ).tabs();
		$( "#tabs-4" ).tabs();
		$( "#tabs-5" ).tabs();*/
	});
</script>
<script type="text/javascript">
        $(document).ready(function(){
            setTimeout(function(){ $(".mensajes").fadeOut(800);}, 4000);  //.fadeIn(800).fadeOut(500).fadeIn(500).fadeOut(300)
        });
</script>
	
</head>

<body>
<div class="container">
<?php
//incluimos
include("../../Funciones/Menu.php");
include("../../Funciones/Conexion.php");
//include("../Controlador/RegInforme.php");
?>
	<div class="span-24 last "> <!--Inicia header-->
		<div class="header"></div>
	</div>
<div class="span-24 last"> <!--Inicia menu horizontal-->
		<table class="loginn">
	<tr>
		<td><script type="text/javascript">fecha();</script></td>
		<td align="right"><?php echo "Usted ha iniciado sesi&oacute;n como: <b>". $_SESSION['login']."</b>";?></td>
	</tr>
	</table>
		<div class="menu-horizontal">	
		<?php 
		$link=Conexion();
		$Usuario=$_SESSION['login'];
		$Consulta=pg_query($link,"SELECT id_rol FROM tblusuario WHERE nom_usuario='$Usuario'");
						if(!$Consulta){
						echo'<div class="error_mensajes"><strong>Error</strong><br/>Error al cargar el menu<br/>Si el Problema continua reportelo al administrador del Sistema.</div>';
						echo pg_last_error();
						exit();
						}
						$array=pg_fetch_row($Consulta);
						pg_close($link);
						$codigo=$array[0];
 						menu($codigo);
		?>	
	</div>
	<!--Inicia cuerpo-->
	<div class="span-5"> <!--Inicia menu vertical-->
		<div class="menu-vertical">
		<div class="conten-logo-insafocoop"><div class="logo-insafocoop"></div></div>
		<ul>
			<li><a href="#" alt="Menu" title="el menu">menu vertical</a></li>
			<li><a href="#" alt="Menu" title="el menu">menu vertical</a></li>
			<li><a href="#" alt="Menu" title="el menu">menu vertical</a></li>
			<li><a href="#" alt="Menu" title="el menu">menu vertical</a></li>
			<li class="ultima-li"><a href="#" alt="Menu" title="el menu">menu vertical</a></li>
		</ul>
		</div>
		<div class="avisos">
			<h2 class="nueva">Noticias!</h2>
			<p>introdusca sus datos del informe de investagacion general a cooperativas...</p>
		</div>
	</div>

	<div class="span-19 last"> <!--===============================Inicia contenido principal=========================================-->
		<div class="contenido-principal contenido-fondo">			
			<h2>Registrar Informe de Investigaci&oacute;n </h2>
			<div align="center"> 
				<div id="navcontainer">
            		<ul id="navlist">
                		<li ><a href="Reg_Inf_invest_prevasam.php">Objetivo de la Investigaci&oacute;n</a></li>
		                <li ><a href="aspecto_general.php">Aspectos Generales</a></li>
        		        <li id="active"><a id="current"href="#">Aspectos administrativos</a></li>
						<li ><a href="verifica_libros.php">Aspecto Legal</a></li>
						<li ><a href="aspecto_conta.php">Aspectos Contables</a></li>
                		
            		</ul>
            	</div>
				<script src="../../../Script/nicEdit.js" type="text/javascript"></script>
<script type="text/javascript">
bkLib.onDomLoaded(function() {
		new nicEditor({maxHeight : 100}).panelInstance('area5');
});
</script>
				<form action="editar_info.php" method="post" name="formulario" class="validate" >
                   	
					
					
                    <div >
                       <table class="tabla-form" border="0">
                            <tr>
                                <td colspan="4"><div class="separador"><strong>Consejo de Administraci&oacute;n y Junta de Vigilancia</strong><span style="float:right;">P&aacute;gina 3/6</span></div></td>
                                <td width="30"><a href="#" data-tooltip="sticky1"><div class="help"></div></a></td>
                            </tr>
                            <tr>
                        		<td colspan="5"><div style="text-align:left; font-weight:bold;color:#1A9AF0;">Integrantes de Consejo de Administra&oacute;n</div></td>
                            </tr>
                            <tr>
                                <td colspan="4">
                                	<table class="tabla-general tabla-sebra" border="0">
                                   		<thead>
                                            <tr>
                                             	<td width="175">Cargo</td>
                                             	<td width="206">Nombre</td>
                                              	<td width="312">Apellido</td>
                                            </tr>
                                        </thead>
                                        <tr>
                                          	<td width="175">Presidente</td>
                                          	<td>
                                       	    <input type="text" name="txtPresiname" id="txtPresi" class="required inp2" value="<?php echo $array[0]; ?>"/></td>
                                          	<td><input type="text" name="txtPresiape" id="txtPresiape" class="required inp2" value="<?php echo $array[0]; ?>"/></td></td>
                                        </tr>
                                        <tr>
                                          	<td width="175">Vice Presidente</td>
                                          	<td><input type="text" name="txtVicename" id="txtVicename" class="required inp2" value="<?php echo $array[0]; ?>"/></td></td>
                                          	<td><input type="text" name="txtViceape" id="txtViceape" class="required inp2" value="<?php echo $array[0]; ?>"/></td></td>
                                        </tr>
                                        <tr>
                                          	<td width="175">Secreatario</td>
                                          	<td><input type="text" name="txtSecrename" id="txtSecrename" class="required inp2" value="<?php echo $array[0]; ?>"/></td></td>
                                          	<td><input type="text" name="txtSecreape" id="txtSecreape" class="required inp2" value="<?php echo $array[0]; ?>"/></td></td>
                                        </tr>
                                        <tr>
                                          	<td width="175">Vocal</td>
                                          	<td><input type="text" name="txtVocalname" id="txtVocalname" class="required inp2" value="<?php echo $array[0]; ?>"/></td></td>
                                          	<td><input type="text" name="txtVocalape" id="txtVocalape" class="required inp2" value="<?php echo $array[0]; ?>"/></td></td>
                                        </tr>
                                        <tr>
                                          	<td width="175">Primer Suplente</td>
                                          	<td><input type="text" name="txtSuplename" id="txtSuplename" class="required inp2" value="<?php echo $array[0]; ?>"/></td></td>
                                          	<td><input type="text" name="txtSupleape" id="txtSupleape" class="required inp2" value="<?php echo $array[0]; ?>"/></td></td>
                                        </tr>
                                        <tr>
                                          	<td width="175">Segundo Suplente</td>
                                          	<td><input type="text" name="txtSuplename2" id="txtSuplename2" class="required inp2" value="<?php echo $array[0]; ?>"/></td></td>
                                          	<td><input type="text" name="txtSupleape2" id="txtSupleape2" class="required inp2" value="<?php echo $array[0]; ?>"/></td></td>
                                        </tr>
                                        <tr>
                                          	<td width="175">Tercer Suplente</td>
                                          	<td><input type="text" name="txtSuplename3" id="txtSuplename3" class="required inp2" value="<?php echo $array[0]; ?>"/></td></td>
                                          	<td><input type="text" name="txtSupleape3" id="txtSupleape3" class="required inp2" value="<?php echo $array[0]; ?>"/></td></td>
                                        </tr>
                                    </table>
                                </td>
                           		<td width="30">&nbsp;</td>
								<p>&nbsp;</p>
				
                            </tr>
                            <tr>
                        		<td colspan="5"><div style="text-align:left; font-weight:bold;color:#1A9AF0;">Integrantes de Junta de Vigilancia</div></td>
                            </tr>
                            <tr>
                                <td colspan="4">
                                	<table class="tabla-general tabla-sebra" border="0">
                                   		<thead>

                                            <tr>
                                             	<td width="173">Cargo</td>
                                             	<td width="206">Nombre</td>
                                              	<td width="314">Apellido</td>
                                            </tr>
                                        </thead>
                                        <tr>
                                          	<td width="173">Presidente</td>
                                          	<td>Saul</td>
                                          	<td>Amed</td>
                                        </tr>
                                        <tr>
                                          	<td width="173">Vice Presidente</td>
                                          	<td>Saul</td>
                                          	<td>Amed</td>
                                        </tr>
                                        <tr>
                                          	<td width="173">Secreatario</td>
                                          	<td>Saul</td>
                                          	<td>Amed</td>
                                        </tr>
                                        <tr>
                                          	<td width="173">Vocal</td>
                                          	<td>Saul</td>
                                          	<td>Amed</td>
                                        </tr>
                                        <tr>
                                          	<td width="173">Primer Suplente</td>
                                          	<td>Saul</td>
                                          	<td>Amed</td>
                                        </tr>
                                    </table>
                                </td>
                           		<td width="30">&nbsp;</td>
                            </tr>
							<tr>
                              <td colspan="5">&nbsp;</td>
                            </tr>
                            <tr>
                                <td width="336"><label>Observaciones y Recomendaciones</label></td>
                                <td width="109"><textarea name="txtObsReco" style="height: 100px;" cols="50" id="area5" value="<?php echo "$ObsReco";?>"></textarea>                          
                              	</td>
                                
                            </tr>
                            <tr>
                                <td width="336"></td>
                                <td width="109">
                                
                              	</td>
                                <td width="105"></td>
                               
                                <td width="30">&nbsp;</td>
                            </tr>
                      </table>
                        <div align="right" style="padding:6px;"> <br /><br />
                         <button type="submit" name="Guardar" class="boton-form boton-form-link submit"><img src="../../../Imagenes/Save.png"/> Guardar y Continuar</button>
                        <button type="button" class="boton-form-x boton-form-link "><img src="../../../Imagenes/Cancel.png" /> Cancelar</button>			
                      </div>
                    </div><!--fin de tab3-->
                    
				</form>
				<br/>
			</div>
		</div>
	</div>
	<!--HTML for the tooltips(El JQuery)-->
	<div id="mystickytooltip" class="stickytooltip">
		<div style="padding:5px">
        <div id="sticky1" class="atip" style="width:262px">
				<table align="center" class="tooltipz">
				<tr>
					<td align="center" valign="top"><img src="../../../Imagenes/Info.png" style="width:50px; eight:50px;"/></td>
					<td align="left" >
						<strong>Informaci&oacute;n</strong><br/>
						Ingrese los datos del representante legal.
					</td>
				</tr>
				</table> 
			</div>
		<div class="stickystatus"></div>
		</div>
	</div>
	<div class="span-24 last"> <!--Inicia footer-->
		<div class="footer"></div>
	</div>
</div>
</body>
</html>
<?php }?>